package com.ap.core.common.types;

import com.ap.core.cxf.jaxb.common.ResponseCode;

/**
 * User: Ranjit.Singh
 * Validation Status used in AP
 */
public enum ValidationStatus {

    VALID(ResponseCode.SUCCESSFUL),
    REJECTED(ResponseCode.MSGCTERROR),
    INVALID(ResponseCode.MSGCTERROR);

    private ResponseCode responseCode;

    private ValidationStatus(ResponseCode responseCode) {
        this.responseCode = responseCode;

    }

    public ResponseCode getResponseCode() {
        return responseCode;
    }

}
